package com.njlime.member.repository.app;

import com.njlime.core.helper.PageBean;
import com.njlime.member.entiies.MemberCollection;
import com.njlime.member.entiies.MemberComment;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Map;

/**
 * Created by Dean on 2017-10-09.
 */
public interface AppMemberCommentDao extends JpaRepository<MemberComment, Integer>,JpaSpecificationExecutor<MemberComment> {
    Map<String, Object> get(int id);
    int del(int id);
    PageBean list(PageBean pageBean, MemberComment info);
}
